const router = require("express").Router();

const { updatePos, delPos, addPos, page } = require("../controller/position");
const {register} = require('../controller/user')
// 接口路由
router.get("/pos/edit", updatePos);
// 删除路由
router.get("/pos/del", delPos);
// 增加的路由
router.post("/pos/add", addPos)
// 分页
router.get("/pos/page", page)
//注册
router.post("/user/register",register)
module.exports = router;
